<!--	
	<div
		class="fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix">
	
		<div id="personalListTemplate_length" class="dataTables_length">
		  
			Show <select size="1" name="personalListTemplate_length"><option
					value="10">10</option>
				<option value="25">25</option>
				<option value="50">50</option>
				<option value="100">100</option>
			</select> entries
			
		</div>
	</div>
-->
<table cellpadding="0" cellspacing="0" border="0" class="DashboardDataTable display"
	id="searchListTemplate">
	<thead>
		<tr>
			<!-- <th class="chkBox"><input type="checkbox"></input></th> -->
			<th class="ui-state-default" style="width:20%">Talent Name</th>
			<th class="ui-state-default" style="width:20%">Current Company</th>
			<th class="ui-state-default" style="width:20%">Position</th>
			<th class="ui-state-default" style="width:20%">Cell #1</th>
			<th  class="ui-state-default" style="width:20%">Expertise</th>
		</tr>
	</thead>

	<tbody id="searchListBody">
		{#foreach $T.response.docs as record}
		<tr class="searchResultrow" name="searchResultrow" id="{$T.record.talentId}">
			<!-- <td class="chkBox"><input type="checkbox"></input></td> -->
			<td>{#if $P.checkHighlighting($T, "eFirstname", $T.record.talentId) == "OK"}
				{$T.highlighting[$T.record.talentId].eFirstname}{#else}{$T.record.eFirstname} {#/if}
				{#if $P.checkHighlighting($T, "eLastname", $T.record.talentId) == "OK"}
				{$T.highlighting[$T.record.talentId].eLastname}{#else}{$T.record.eLastname}{#/if}
			</td>				
			<td>{#if $P.checkHighlighting($T, "company", $T.record.talentId) == "OK"}
				{$T.highlighting[$T.record.talentId].company}{#else}{$T.record.company}{#/if}
			</td>
			<td>{#if $P.checkHighlighting($T, "position", $T.record.talentId) == "OK"}
				{$T.highlighting[$T.record.talentId].position}{#else}{$T.record.position}{#/if}
			</td>
			<td>{#if $P.checkHighlighting($T, "cell1", $T.record.talentId) == "OK"}
				{$T.highlighting[$T.record.talentId].cell1}{#else}{$T.record.cell1}{#/if}
			</td>
			<td>{#if $P.checkHighlighting($T, "expertise", $T.record.talentId) == "OK"}
				{$T.highlighting[$T.record.talentId].expertise}{#else}{$T.record.expertise}{#/if}
			</td>
			<td style="visibility: hidden; display: none">{$T.record.talentId}</td>
		</tr>
		<tr class="searchResultrow" name="searchResultrow" id="{$T.record.talentId}">
			<td colspan="5">{#if $P.checkHighlighting($T, "nationality_text", $T.record.talentId) == "OK"}
				Nationality: {$T.highlighting[$T.record.talentId].nationality_text}<br />{#/if}
				{#if $P.checkHighlighting($T, "birthdate", $T.record.talentId) == "OK"}
				Birthday: {$T.highlighting[$T.record.talentId].birthdate}<br />{#/if}
				{#if $P.checkHighlighting($T, "gender_text", $T.record.talentId) == "OK"}
				Gender: {$T.highlighting[$T.record.talentId].gender_text}<br />{#/if}
				{#if $P.checkHighlighting($T, "familyBackground", $T.record.talentId) == "OK"} 
				Family Background: {$T.highlighting[$T.record.talentId].familyBackground}<br />{#/if}
				{#if $P.checkHighlighting($T, "interest", $T.record.talentId) == "OK"} 
				Interest: {$T.highlighting[$T.record.talentId].interest} <br />{#/if}
				{#if $P.checkHighlighting($T, "religion_text", $T.record.talentId) == "OK"} 
				Religion: {$T.highlighting[$T.record.talentId].religion_text} <br />{#/if}
				{#if $P.checkHighlighting($T, "country_text", $T.record.talentId) == "OK"} 
				Country: {$T.highlighting[$T.record.talentId].country_text} <br />{#/if}
				{#if $P.checkHighlighting($T, "city", $T.record.talentId) == "OK"} 
				City {$T.highlighting[$T.record.talentId].city} <br />{#/if}
				{#if $P.checkHighlighting($T, "jobfunction", $T.record.talentId) == "OK"}
				Job Function: {$T.highlighting[$T.record.talentId].jobfunction} <br />{#/if}
				{#if $P.checkHighlighting($T, "position", $T.record.talentId) == "OK"} 
				Position: {$T.highlighting[$T.record.talentId].position} <br />{#/if}
				{#if $P.checkHighlighting($T, "industry1_text", $T.record.talentId) == "OK"} 
				Industry1: {$T.highlighting[$T.record.talentId].industry1_text} <br />{#/if}
				{#if $P.checkHighlighting($T, "industry2_text", $T.record.talentId) == "OK"} 
				Industry2: {$T.highlighting[$T.record.talentId].industry2_text} <br />{#/if}
				{#if $P.checkHighlighting($T, "totalYearsOfWork", $T.record.talentId) == "OK"} 
				Total Years of Work: {$T.highlighting[$T.record.talentId].totalYearsOfWork} <br />{#/if}
				{#if $P.checkHighlighting($T, "salary", $T.record.talentId) == "OK"} 
				Salary: {$T.highlighting[$T.record.talentId].salary} <br />{#/if}
				{#if $P.checkHighlighting($T, "workExperience", $T.record.talentId) == "OK"} 
				Work Experience: {$T.highlighting[$T.record.talentId].workExperience} <br />{#/if}
				{#if $P.checkHighlighting($T, "overseasExposure", $T.record.talentId) == "OK"} 
				Overseas Exposure: {$T.highlighting[$T.record.talentId].overseasExposure} <br />{#/if}
				{#if $P.checkHighlighting($T, "expertise", $T.record.talentId) == "OK"} 
				Expertise: {$T.highlighting[$T.record.talentId].expertise} <br />{#/if}
				{#if $P.checkHighlighting($T, "technicalSkill", $T.record.talentId) == "OK"} 
				Technical Skill: {$T.highlighting[$T.record.talentId].technicalSkill} <br />{#/if}
				{#if $P.checkHighlighting($T, "languageSkill", $T.record.talentId) == "OK"} 
				Language Skill: {$T.highlighting[$T.record.talentId].languageSkill} <br />{#/if}
				{#if $P.checkHighlighting($T, "others", $T.record.talentId) == "OK"} 
				Others: {$T.highlighting[$T.record.talentId].others} <br />{#/if}
				{#if $P.checkHighlighting($T, "careerGoal", $T.record.talentId) == "OK"} 
				Career Goal: {$T.highlighting[$T.record.talentId].careerGoal} <br />{#/if}
				{#if $P.checkHighlighting($T, "officeTel", $T.record.talentId) == "OK"} 
				Phone Line:{$T.highlighting[$T.record.talentId].officeTel} <br />{#/if}
				{#if $P.checkHighlighting($T, "did", $T.record.talentId) == "OK"} 
				DID: {$T.highlighting[$T.record.talentId].did} <br />{#/if}
				{#if $P.checkHighlighting($T, "fax", $T.record.talentId) == "OK"} 
				FAX: {$T.highlighting[$T.record.talentId].fax} <br />{#/if}
				{#if $P.checkHighlighting($T, "address", $T.record.talentId) == "OK"} 
				Address: {$T.highlighting[$T.record.talentId].address} <br />{#/if}
				{#if $P.checkHighlighting($T, "maritalStatus", $T.record.talentId) == "OK"} 
				Marital Status: {$T.highlighting[$T.record.talentId].maritalStatus} <br />{#/if}
				{#if $P.checkHighlighting($T, "homePhone", $T.record.talentId) == "OK"} 
				Home Phone: {$T.highlighting[$T.record.talentId].homePhone} <br />{#/if}
				{#if $P.checkHighlighting($T, "cell1", $T.record.talentId) == "OK"} 
				Cell1: {$T.highlighting[$T.record.talentId].cell1} <br />{#/if}
				{#if $P.checkHighlighting($T, "cell2", $T.record.talentId) == "OK"} 
				Cell2: {$T.highlighting[$T.record.talentId].cell2} <br />{#/if}
				{#if $P.checkHighlighting($T, "comMail", $T.record.talentId) == "OK"} 
				Company Email: {$T.highlighting[$T.record.talentId].comMail} <br />{#/if}
				{#if $P.checkHighlighting($T, "personalMail", $T.record.talentId) == "OK"} 
				Personal Email: {$T.highlighting[$T.record.talentId].personalMail} <br />{#/if}
				{#if $P.checkHighlighting($T, "rating", $T.record.talentId) == "OK"} 
				Rating: {$T.highlighting[$T.record.talentId].rating} <br />{#/if}
				{#if $P.checkHighlighting($T, "skype", $T.record.talentId) == "OK"} 
				Skype: {$T.highlighting[$T.record.talentId].skype} <br />{#/if}
				{#if $P.checkHighlighting($T, "linkedin", $T.record.talentId) == "OK"} 
				LinkedIn: {$T.highlighting[$T.record.talentId].linkedin} <br />{#/if}
				{#if $P.checkHighlighting($T, "facebook", $T.record.talentId) == "OK"} 
				Facebook: {$T.highlighting[$T.record.talentId].facebook} <br />{#/if}
				{#if $P.checkHighlighting($T, "plurk", $T.record.talentId) == "OK"} 
				Plurk {$T.highlighting[$T.record.talentId].plurk} <br />{#/if}
				{#if $P.checkHighlighting($T, "twitter", $T.record.talentId) == "OK"} 
				Twitter: {$T.highlighting[$T.record.talentId].twitter} <br />{#/if}
				{#if $P.checkHighlighting($T, "additionalReferenceInfo", $T.record.talentId) == "OK"} 
				Additional Reference Info: {$T.highlighting[$T.record.talentId].additionalReferenceInfo} <br />{#/if}
				{#if $P.checkHighlighting($T, "comment", $T.record.talentId) == "OK"} 
				Additional Comment: {$T.highlighting[$T.record.talentId].comment} <br />{#/if}
				{#if $P.checkHighlighting($T, "createDate", $T.record.talentId) == "OK"} 
				Create Date: {$T.highlighting[$T.record.talentId].createDate} <br />{#/if}
				{#if $P.checkHighlighting($T, "createUser", $T.record.talentId) == "OK"} 
				Create User: {$T.highlighting[$T.record.talentId].createUser} <br />{#/if}
				{#if $P.checkHighlighting($T, "modifyDate", $T.record.talentId) == "OK"} 
				Modify Date: {$T.highlighting[$T.record.talentId].modifyDate} <br />{#/if}
				{#if $P.checkHighlighting($T, "modifyUser", $T.record.talentId) == "OK"} 
				Modify User: {$T.highlighting[$T.record.talentId].modifyUser} <br />{#/if}

				{#if $P.checkHighlighting($T, "activityRow", $T.record.talentId) == "OK"} 
					{#foreach $T.highlighting[$T.record.talentId].activityRow as activityRow}
						{$T.activityRow} <br />								
					{#/for}
				{#/if}
				
				{#if $P.checkHighlighting($T, "referralRow", $T.record.talentId) == "OK"} 
					{#foreach $T.highlighting[$T.record.talentId].referralRow as referralRow}
						{$T.referralRow} <br />								
					{#/for}
				{#/if}

				{#if $P.checkHighlighting($T, "educationRow", $T.record.talentId) == "OK"} 
					{#foreach $T.highlighting[$T.record.talentId].educationRow as educationRow}
						{$T.educationRow} <br />								
					{#/for}
				{#/if}
			</td>
		</tr>
		{#/for}
		{#if $T.response.numFound == 0}
			<tr>
				<td colspan="5">
					No Records Found
				</td>
			</tr>
		{#/if}
	</tbody>
</table>

<div
	class="fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix">

	<div
		class="dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi ui-buttonset-multi paging_full_numbers"
		id="personalListTemplate_paginate">
		  
		<span
			class="first ui-corner-tl ui-corner-bl fg-button ui-button ui-state-default ui-state-disabled"
			id="personalListTemplate_first"><!--First  --></span><span
			class="previous fg-button ui-button ui-state-default ui-state-disabled"
			id="personalListTemplate_previous"><!--Previous--></span><span><span
			class="fg-button ui-button ui-state-default ui-state-disabled"><!-- 1 --></span>
		</span><span
			class="next fg-button ui-button ui-state-default ui-state-disabled"
			id="personalListTemplate_next"><!--Next --></span><span
			class="last ui-corner-tr ui-corner-br fg-button ui-button ui-state-default ui-state-disabled"
			id="personalListTemplate_last"><!-- Last --></span>
		
	</div>
</div>
